<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head >
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="../../../static/css/bootstrap.min.css" />
    <link rel="stylesheet" href="../../../static/css/plugins/toastr/toastr.min.css"/>
    <!-- http://www.bootdo.com/css/plugins/bootstrap-table/bootstrap-table.min.css -->
    <link rel="stylesheet" href="../../../static/css/plugins/jsTree/style.min.css" />
    <link rel="stylesheet" href="../../../static/css/animate.css" />
    <link rel="stylesheet" href="../../../static/css/font-awesome.css" />
    <link rel="stylesheet" href="../../../static/css/style.css" />
    <link rel="stylesheet" href="../../../static/css/plugins/iCheck/custom.css" />
    <link rel="stylesheet" href="../../../static/css/plugins/cropper/cropper.css" />
    <link rel="stylesheet" href="../../../static/js/plugins/layer/laydate/skins/default/laydate.css" />
    <link rel="stylesheet" href="../../../static/css/gg-bootdo.css" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content" id="user">
    <div class="col-sm-12">
            <div class="ibox" id="content">
                <div class="ibox-body">
                    <div class="fixed-table-toolbar">
                        <div >
                            <table class="table">
                            <tr>
                                <td style="text-align:right" class="typename">
                                    名称：
                                </td>
                                <td class="filed-ipt">
                                    <div class="form-inline">
                                        <input style="width:163px;" name="name" id="name"  type="text" class="form-control" required>
                                    </div>
                                </td>
                                <td style="text-align:right" class="typename">
                                    类型：
                                </td>
                                <td class="filed-ipt">
                                    <div class="form-inline">
                                        <select id="type" dict-type="supplier_type" s-value="" name="type" class="form-control"></select>
                                    </div>
                                </td>
                                <td style="text-align:right" class="typename">
                                    级别：
                                </td>
                                <td class="filed-ipt">
                                    <div class="form-inline">
                                        <select id="level" dict-type="supplier_level" name="level" class="form-control"></select>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                </td>
                                <td style="text-align:right" class="typename">
                                    电话：
                                </td>
                                <td class="filed-ipt">
                                    <div class="form-inline">
                                        <input style="width:163px;" name="telephone" id="telephone" type="text" class="form-control" >
                                    </div>
                                </td>
                                <td style="text-align:right" class="typename">
                                    联系人：
                                </td>
                                <td class="filed-ipt">
                                    <div class="form-inline">
                                        <input style="width:163px;" type="text" name="contacts" id="contacts" class="form-control" >
                                    </div>
                                </td>
                                <td style="text-align:right" class="typename">
                                    联系人电话：
                                </td>
                                <td class="filed-ipt">
                                    <div class="form-inline">
                                        <input style="width:163px;" type="text" name="contactsMobile" id="contactsMobile" class="form-control">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td></td>
                                <td><button class="btn btn-success" onclick="reLoad()">查询</button></td>

                            </tr>
                            </table>
                            <!--<button class="btn btn-success" onclick="reLoad()">查询</button>-->
                        </div>
                    </div>
                    <div class="fixed-table-toolbar">
                        <button v-if="isShowFun('smm:supplier:add')" v-cloak type="button"
                                class="btn  btn-primary" onclick="add()">
                            <i class="fa fa-plus hidden" aria-hidden="true"></i>添加
                        </button>
                    </div>
                    <table id="exampleTable" data-mobile-responsive="true">
                    </table>
                    <div id="contactsSampleDiv" style="display: none;">
                        <table id="contactsTable" border="1">
                            <thead>
                                <th width="120">名称</th>
                                <th width="150">电话</th>
                                <th width="200">邮箱</th>
                                <th width="100">主联系人</th>
                                <th width="200">操作</th>
                            </thead>
                            <tbody></tbody>
                        </table>
                    </div>
                    <table id="contactsSampleTable" border="1">
                        <tr>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </table>
                </div>
            </div>
    </div>
    <!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
    <div>
        <script type="text/javascript">
				var s_edit_h = 'hidden';
				var s_remove_h = 'hidden';
				var s_resetPwd_h = 'hidden';
			</script>
    </div>
    <div shiro:hasPermission="sys:user:edit">
        <script type="text/javascript">
				s_edit_h = '';
			</script>
    </div>
    <div shiro:hasPermission="sys:user:remove">
        <script type="text/javascript">
				var s_remove_h = '';
			</script>
    </div>
    <div shiro:hasPermission="sys:user:resetPwd">
        <script type="text/javascript">
				var s_resetPwd_h = '';
			</script>
    </div>
</div>
<script src="../../../static/js/public.js"></script>
<script src="../../../static/js/jquery.min.js?v=2.1.4"></script>
<script src="../../../static/js/vue.min.js"></script>
<script src="../../../static/js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../../static/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../../../static/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="../../../static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../../../static/js/plugins/validate/jquery.validate.min.js"></script>
<script src="../../../static/js/plugins/validate/messages_zh.min.js"></script>
<script src="../../../static/js/plugins/jsTree/jstree.min.js"></script>
<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.min.js"></script>
<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.extension.js"></script>
<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.bootstrap3.js"></script>
<script src="../../../static/js/plugins/chosen/chosen.jquery.js"></script>
<script src="../../../static/js/plugins/layer/layer.js"></script>

<!--summernote-->
<script src="../../../static/js/plugins/summernote/summernote.js"></script>
<script src="../../../static/js/plugins/summernote/summernote-zh-CN.min.js"></script>
<script src="../../../static/js/ajax-util.js"></script>
<script src="../../../static/js/primeForm.js"></script>
<script type="text/javascript" src="../../../static/js/appjs/common/util/popwin.js"></script>
<script src="../../../static/js/appjs/smm/supplier/list.js"></script>
<script src="../../../static/js/plugins/layer/laydate/laydate.js"></script>

</body>
</html>
